package com.ruoyi.uav.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 任务流程记录对象 uav_task_steps
 *
 * @author ruoyi
 * @date 2024-06-07
 */
@Data
@ApiModel(value = "任务流程记录对象", description = "任务流程记录对象")
public class UavTaskSteps extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    @TableId(value = "id", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 任务记录id */
    @ApiModelProperty("任务记录id")
    @Excel(name = "任务记录id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long taskRecordId;

    /** 步骤信息 */
    @ApiModelProperty("步骤信息")
    @Excel(name = "步骤信息")
    private String stepsInfo;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String proposeName;

}
